<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../common/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>入库物品</title>
</head>
<body>
<table>
	<thead>
		<tr>
			<th>名称</th>
			<th>类别</th>
			<th>分类</th>
			<th>经办人</th>
			<th>操作人</th>
			<th>经销商</th>
			<th>品牌</th>
			<th>价格</th>
			<th>数量</th>
			<th>经办日期</th>
			<th>操作日期</th>
			<th>原因</th>
			<th>备注	</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach items="${list}" var="list">
			<tr id="<c:out value="${list.items.id}"/>">
				<td id="${list.items.goodsid}"><c:out value="${list.goods.name}" /></td>
				<td><c:out value="${list.goods.specification}" /></td>
				<td id="${list.items.cateid}"><c:out value="${list.category.name}" /></td>
				<td id="${list.items.handlerid}"><c:out value="${list.handler.name}" /></td>
				<td id="${list.items.operatorid}"><c:out value="${list.operator.name}" /></td>
				<td id="${list.items.dealerid}"><c:out value="${list.dealer.name}" /></td>
				<td id="${list.items.brandid}"><c:out value="${list.brand.name}" /></td>
				<td ><c:out value="${list.items.price}" /></td>
				<td><c:out value="${list.items.number}" /></td>
				<td><c:out value="${list.items.handlerDate}" /></td>
				<td><c:out value="${list.items.makeDate}" /></td>
				<td><c:out value="${list.reason.value}" /></td>
				<td><c:out value="${list.items.note}" /></td>
			</tr>
		</c:forEach>
	</tbody>
</table>
<button onclick="window.location.href('category/add')" value="添加">添加</button>
</body>
</html>